package com.ld.service.impl;

import com.ld.mapper.DeptMapper;
import com.ld.pojo.Dept;
import com.ld.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.dubbo.config.annotation.Service;

import java.util.List;

/**
 * @Author: Liudao
 * @Date: 2022-08-10-22:06
 * @Description:
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;


    @Override
    public List<Dept> list() {
        return deptMapper.selectAll();
    }
}
